﻿

using ProtoBuf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IotContract.Models.Process.F29;
/// <summary>
/// 充放电调度数据
/// </summary>
[ProtoContract]
public class F29ProcessFmtData: ProcessBaseData
{
    /// <summary>
    /// 设备状态
    /// </summary>
    [ProtoMember(1)]
    public string EquipStatus { get; set; }
    /// <summary>
    /// 设备模式
    /// </summary>
    [ProtoMember(2)]
    public string Mode { get; set; }

    /// <summary>
    /// 物品
    /// </summary>
    [ProtoMember(3)]
    public string Obj { get; set; }
    /// <summary>
    /// 设备需要解析的数据  905开始结束(S E)  933进入（A R)  937出去 (E:End完成 R:Request(Unload邀请) O:Open Jig(化成用))
    /// </summary>
    [ProtoMember(4)]
    public string ExplainData { get; set; }

    [ProtoMember(5)]
    public long Id { get; set; }
    /// <summary>
    /// 值
    /// </summary>
    [ProtoMember(6)]
    public string Value { get; set; }
    
    /// <summary>
    /// 连接状态
    /// </summary>
    [ProtoMember(7)]
    public bool Connection { get; set; }
    /// <summary>
    /// 设备动作
    /// </summary>
    [ProtoMember(8)]
    public string Action { get; set; }



    /// <summary>
    /// 读取时间
    /// </summary>
    [ProtoMember(9)]
    public DateTime? ReadTime { get; set; }

    [ProtoMember(10)]
    public string EquipNum { get; set; }
    [ProtoMember(11)]
    public long EquipId { get; set; }
   


}
